package com.newtouch.bxzs.business.message.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 公告管理VO类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020/12/23</td>
 * <td>liman</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author liman
 * @version 1.0.0
 * @since 1.0.0
 */
@Data
@ApiModel("公告VO类")
public class AnnouncementVO implements Serializable{
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 2493558713198072533L;

    @ApiModelProperty("发布状态：未发布1；已发布2；已结束3；已取消4；已撤销5")
    private String publishStatus;

    @ApiModelProperty(value = "当前页数", required = true)
    private Integer currentPage;

    @ApiModelProperty(value = "每页数量", required = true)
    private Integer pageSize;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("开始时间")
    private Date startTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("结束时间")
    private Date endTime;
}
